/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
}

/* 登录页样式 */
.login-container {
  width: 100vw;
  height: 100vh;
  /* background: url('../src/assets/bg-login.jpg') no-repeat center center; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
  width: 360px;
}

.logo {
  width: 80px;
  margin-bottom: 20px;
}

.login-box h2 {
  margin-bottom: 24px;
  color: #007bff;
}

.login-box input, .login-box select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.login-box button:hover {
  background: #0056b3;
}

/* 通用导航样式 */
.nav {
  background: #007bff;
  padding: 16px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-right: 24px;
  font-size: 16px;
}

.nav a:hover {
  opacity: 0.8;
}

/* 页面容器 */
.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}

h3 {
  color: #007bff;
  margin: 20px 0;
}

/* 卡片样式 */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.card img {
  max-width: 100%;
  border-radius: 4px;
  margin: 10px 0;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn:hover {
  background: #0056b3;
}
